<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <link rel="icon" href="./images/mine.png" />
        <title>扫雷</title>
        <style>
            * {
                padding: 0;
                margin: 0;
            }
            .container {
                margin: 20px auto;
            }
            .level {
                text-align: center;
                margin-bottom: 10px;
            }
            .level button {
                padding: 5px 15px;
                background: #02a4ad;
                border: none;
                color: #fff;
                border-radius: 3px;
                outline: none;
                cursor: pointer;
            }
            .level button.active {
                background-color: #00abff;
            }
            .info {
                text-align: center;
                margin-top: 10px;
            }
            table {
                border-spacing: 1px;
                background: #929196;
                margin: 0 auto;
            }
            td {
                padding: 0;
                width: 20px;
                height: 20px;
                background: #ccc;
                border: 2px solid;
                border-color: #fff #a1a1a1 #a1a1a1 #fff;
                text-align: center;
                line-height: 20px;
                font-weight: bold;
            }
            .clicked {
                border-color: #d9d9d9;
                background: #d9d9d9;
            }
            .one {
                color: #0332fe;
            }
            .two {
                color: #019f02;
            }
            .three {
                color: #ff2600;
            }
            .four {
                color: #93208f;
            }
            .five {
                color: #ff7f29;
            }
            .six {
                color: #ff3fff;
            }
            .seven {
                color: #3fffbf;
            }
            .eight {
                color: #22ee0f;
            }
            .mine {
                background: #d9d9d9 url(./images/mine.png) no-repeat center;
                background-size: cover;
                border: none;
            }
            .flag {
                background: #ccc url(./images/flag.png) no-repeat center;
                background-size: cover;
            }
        </style>
    </head>
    <body>
        <div class="container">
            <div class="level">
                <button class="active">初级</button>
                <button>中级</button>
                <button>高级</button>
                <button>重新开始</button>
            </div>
            <div class="game-box"></div>
            <div class="info">剩余雷数：<span class="mine-count"></span></div>
        </div>
        <script src="./index.js"></script>
    </body>
</html>
